wpdFormAttr\Form D

Total Complexity 407
Dependencies 6
Dependents 2
Total lines 1,528
Lines of code 1,442
Logical lines of code 825
Comment lines 2
Methods 62
Properties 17

Methods 62

Method Rating Maintainability Complexity Lines of code
renderFormStructure()
D
18
40 295
validateGeneralOptions()
C
34 26 93
getRatingMetaHtml()
C
35 23 84
getPostRatingHtml()
B
38 22 58
isUserCanComment()
B
44 22 35
renderTextEditorButtons()
B
40 17 56
renderFrontForm()
B
41 16 54
savePostRatingMeta()
A
43 16 45
saveCommentMeta()
A
46 14 35
getSingleRatingHtml()
A
43 12 45
isUserCanSeeComments()
A
52 12 22
setFormID()
A
50 10 29
saveFormPostRel()
A
50 10 27
getRatingSchema()
A
51 10 23
getThemes()
A
46 8 39
initFormFields()
A
53 9 22
displayRatingMeta()
A
54 9 21
_renderFrontCommentMetaHtml()
S
56 8 15
theFormListData()
S
59 8 12
renderEditFrontCommentForm()
S
48 7 27
saveFormContentTypeRel()
S
54 7 20
getTheme()
S
51 6 27
renderTextEditor()
S
53 6 24
renderFrontCommentMetaHtml()
S
58 6 15
displayRatingMetaBeforeCommentForm()
S
59 6 14
cleanUnusedData()
S
58 5 16
showRecaptcha()
S
76 6 3
renderEditAdminCommentForm()
S
51 4 29
initFormMeta()
S
62 5 11
validateFields()
S
58 4 15
getDefaultTheme()
S
59 4 14
getLayouts()
S
59 4 14
saveFormData()
S
58 3 15
defaultFieldsData()
S
47 1 43
validateFormStructure()
S
62 3 12
validateSubscribtionCaptcha()
S
70 3 6
getHeaderTextPlural()
S
68 2 7
getHeaderTextSingle()
S
68 2 7
getEnableRateOnPost()
S
69 2 7
getLayout()
S
69 2 7
getPostRatingTitle()
S
68 2 7
getUserCanRateOnPost()
S
69 2 7
customFieldsExists()
S
76 2 4
isShowSubscriptionBarAgreement()
S
75 2 4
subscriptionBarAgreementLabel()
S
77 2 3
resetData()
S
72 1 6
transferJSData()
S
72 1 5
__construct()
S
64 1 10
validateDefaultWebsite()
S
71 1 5
validateDefaultName()
S
71 1 5
validateDefaultEmail()
S
67 1 7
validateDefaultCaptcha()
S
75 1 4
getFormFields()
S
82 1 3
getFormPostTypes()
S
82 1 3
getCustomCSS()
S
79 1 3
isShowSubscriptionBar()
S
80 1 3
getCaptchaFied()
S
82 1 3
getRatingsExists()
S
75 1 5
getGeneralOptions()
S
82 1 3
getFormID()
S
82 1 3
getFormCustomFields()
S
82 1 3
getAllowedFieldsType()
S
81 1 3